package com.wyz.note.project.demo;

/**
 * @Description:
 * @author: wei yz
 * @Date: 2024/1/28 14:18
 */
public class ExcelMergedInfo {

    /**
     * 等级
     */
    private int level;
    /**
     * 合并列数，第几个合并行
     */
    private int mergedCol;
    /**
     * 开始行数
     */
    private int firstRow;
    /**
     * 结束行数
     */
    private int lastRow;
    /**
     *  合并行数
     */
    private int mergedRows;

    public ExcelMergedInfo() {
    }

    @Override
    public String toString() {
        return "ExcelMergedInfo{" +
                "level=" + level +
                ", mergedCol=" + mergedCol +
                ", firstRow=" + firstRow +
                ", lastRow=" + lastRow +
                ", mergedRows=" + mergedRows +
                '}';
    }

    public ExcelMergedInfo(int level, int mergedCol, int firstRow, int lastRow, int mergedRows) {
        this.level = level;
        this.mergedCol = mergedCol;
        this.firstRow = firstRow;
        this.lastRow = lastRow;
        this.mergedRows = mergedRows;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getMergedCol() {
        return mergedCol;
    }

    public void setMergedCol(int mergedCol) {
        this.mergedCol = mergedCol;
    }

    public int getFirstRow() {
        return firstRow;
    }

    public void setFirstRow(int firstRow) {
        this.firstRow = firstRow;
    }

    public int getLastRow() {
        return lastRow;
    }

    public void setLastRow(int lastRow) {
        this.lastRow = lastRow;
    }

    public int getMergedRows() {
        return mergedRows;
    }

    public void setMergedRows(int mergedRows) {
        this.mergedRows = mergedRows;
    }
}
